package com.qf.mybatis.entity;

/**
 * @author 郑大仙丶
 * @version 1.0
 * @date 2021/3/17 14:41
 * 联系人表
 */
public class Linkman {

    private Integer id;

    private String name;

    // 准备多对一的映射关系
    private Customer customer;


    @Override
    public String toString() {
        return "Linkman{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
